<!-- ############################## body content ############################## -->
<div id="body_content">
	<div id="tours_line">
    	<img src="<?php echo base_url(); ?>public/images/home_icon.png" alt="" align="left" style="margin:-4px 5px 0px 0px;" /><a href="<?php echo base_url(); ?>">Home</a> &raquo; <a href="javascript:void(0)"><?php echo $title; ?></a>
    </div>
    <div id="tours_img">
    	<img src="<?php echo base_url(); ?>public/images/slideimg_halong.jpg" alt="" />
    </div>
    <div id="tours_content">
      	<div id="tours_l">
        	<?php $this->load->view("homes/categories"); ?>
            <div id="support_online"><img src="<?php echo base_url(); ?>public/images/support_online.jpg" width="210" height="135" /></div>
            <div id="travel_guide"><img src="<?php echo base_url(); ?>public/images/travel_guide.jpg" width="210" height="135" /></div>
            <div class="cls"></div>
            <div id="custom_trip"><img src="<?php echo base_url(); ?>public/images/custom_your_trip.jpg" width="210" /></div>
            <div id="tripadvsior"><img src="<?php echo base_url(); ?>public/images/tripadvidor.jpg" width="210" /></div>
        </div>
      	<div id="tours_r">
        	<div id="tour_r_title" style="padding:10px 0px;font-weight:bold"><h2 style="font-weight:bold"><?php echo $tourname['cate_name']; ?></h2></div>
        	<div id="tour_r_intro" style="margin-bottom:5px;line-height:17px;"><?php echo $tourname['cate_ext']; ?></div>
            <div id="tour_r_cate">
            	<?php $this->load->view("homes/category"); ?>
            </div>
            <?php if($cateid != 124){ ?>
            <div id="top_rated">
            	<div id="top_rated_top"><h3>Top-rated Attractions</h3></div>
            	<div id="top_rated_bot" style="padding:10px 0px">
               	<?php
				if(isset($regions)){
					foreach($regions as $regi){
						echo "<div class='regions'>";
							if($regi['region_image'] != NULL){
								echo "<a href='".base_url()."regions/".$regi['region_rewrite']."/".$regi['region_id'].".html'><img src='".base_url()."uploads/regions/thumb/".$regi['region_image']."' alt='".$regi['region_title']."' title='".$regi['region_title']."' width='70' /></a>";
							}
							echo "<h3><a href='".base_url()."regions/".$regi['region_rewrite']."/".$regi['region_id'].".html'>".$regi['region_title']."</a></h3>";
							echo "<p><img src='".base_url()."public/images/rated.jpg' /></p>";
						echo "</div>";
					}
				}
				?>
                </div>
            </div>
            <?php } ?>
            <div id="rated_tour">
            	<div id="rated_tour_top"><h3><?php if($cateid != 124){ ?> Top-rated <?php } ?> <?php echo $name; ?> Tours</h3></div>
            	<div id="rated_tour_bot" style="float:left">
                <?php
				if(isset($listtours) && $listtours != NULL){
					foreach($listtours as $tours){	
				?>
                	<div class="tour_items">
                    	<div class="tour_items_l"><img src="<?php echo base_url()."uploads/tours/thumb/".$tours['tour_image1']; ?>" alt="" width="173" /></div>
                    	<div class="tour_items_m">
                        	<p><a href="<?php echo base_url().$segment."/".$tours['tour_name_rewrite']."-".$tours['tour_id']; ?>.html"><?php echo $tours['tour_name']; ?></a></p>
                            <p>Tour code : <?php echo $tours['tour_code']; ?> </p>
                            <p>Tour duration : <?php echo $tours['tour_type']; ?></p>
                            <p>Destinations : <?php echo $tours['tour_destina']; ?></p>
                            <p><?php echo $tours['tour_short_info']; ?></p>
                            <?php 
							if($tours['tour_promo_title'] != NULL){
								echo "<p style='color:#F00'>".$tours['tour_promo_title']."</p>";
							}
							?>
                        </div>
                    	<div class="tour_items_r">
                        	<p>From USD</p>
                            <div><span class="price_rate">$<?php echo $tours['tour_price_old']; ?></span><span class="price_promo">$<?php echo $tours['tour_price']; ?></span></div>
                            <div class="clr"></div>
                            <p>Per person</p>
                            <p class="whatis">What is include?</p>
                            <a href="<?php echo base_url().$segment."/".$tours['tour_name_rewrite']."-".$tours['tour_id']; ?>.html" class="viewdetail">View Tour Detail</a>
                        </div>
                        <div class="cls"></div>
                    </div>
               <?php } } ?>
                </div>
                <div class="cls"></div>
            </div>
        </div>
    </div>
</div>
<!-- ############################## end body content ############################## -->